package East_newsK;

import javax.xml.stream.StreamFilter;
import java.io.*;

import java.util.stream.Stream;

public class Content_storage {

    public static void storage(String content) throws Exception{
        File file = new File("E:\\临时储存\\新闻内容\\内容.txt");
        Writer writer  = new FileWriter(file,true);
        writer.write(content);
        System.out.println("成功储存！");
        writer.close();
    }
}
